package br.diego.tb.texteditor;

public class RemoveSubstring 
{
	public static void remove_substring(String s, Integer p, Integer n) 
	{
		// No patience, doing it the Java way
			s = "abcdefghidefqq";
			p = 10;
			n = 3;
			
	      	p = p -1;
	        s = s.replace(s.substring(p,p+n),"");
	        System.out.print(s);
		
    }
	
	public static void main(String[] args) {
		RemoveSubstring.remove_substring(null, null, null);
	}
}
